<?php

use console\db\channels\DataPhpMigration as Migration;

/**
 * 推荐位基础数据
 *
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class m200104_180243_d_position extends Migration {

    /**
     * @inheritdoc
     */
    public function getTableOptions() {
        return [
            'position_page' => [
                'id',
                'name',
                'title',
                'example',
                'status',
                'created_at',
                'updated_at',
            ],
            'position' => [
                'name',
                'label',
                'page_id',
                'thumb',
                'width',
                'height',
                'limits',
                'status',
                'created_at',
                'updated_at',
            ],
            'position_data' => [
                'position_id',
                'title',
                'description',
                'thumb',
                'type',
                'model',
                'model_id',
                'url',
                'status',
                'created_at',
                'updated_at',
            ],
        ];
    }

}
